import myRequest from './index';
// 获取用户联系详情
export function getUserOrder(params) {
  return myRequest({
    url:'/con/conlist',
    method:'POST',
    data:params
  })
}
export function addOrder(params) {
  return myRequest({
    url: `/con/addgoods`,
    method: 'POST',
    data:params
  })
}
// 状态变更
export function cancelOrder(params) {
  return myRequest({
    url:'/con/removegoods',
    method:'POST',
    data:params
  })
}
// 删除
export function delOrder(params) {
  return myRequest({
    url:'/con/delorder',
    method:'POST',
    data:params
  })
}

/**
 * 用户订单管理
 */
export function userOrderList(params) {
  return myRequest({
    url:'/con/userlist',
    method:'POST',
    data:params
  })
}

